package com.inossem.allotin.db;

import com.inossem.allotin.db.greendao.convert.TransportHeadConvert;
import com.inossem.wms.vo.transport.TransportHead;

import org.greenrobot.greendao.annotation.Convert;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;

import org.greenrobot.greendao.annotation.Generated;

/**
 * @author 郭晓龙
 * @time on 2019/11/8
 * @email xiaolong.guo@inossem.com
 * @describe
 */

@Entity
public class AllotInBean {
    @Id
    private Long id;
    @Convert(converter = TransportHeadConvert.class, columnType = String.class)
    private TransportHead mTransportHead;
    private Date createTime;
    private String stockTransportCode;
    @Generated(hash = 288310974)
    public AllotInBean(Long id, TransportHead mTransportHead, Date createTime,
            String stockTransportCode) {
        this.id = id;
        this.mTransportHead = mTransportHead;
        this.createTime = createTime;
        this.stockTransportCode = stockTransportCode;
    }
    @Generated(hash = 352042464)
    public AllotInBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public TransportHead getMTransportHead() {
        return this.mTransportHead;
    }
    public void setMTransportHead(TransportHead mTransportHead) {
        this.mTransportHead = mTransportHead;
    }
    public Date getCreateTime() {
        return this.createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getStockTransportCode() {
        return this.stockTransportCode;
    }
    public void setStockTransportCode(String stockTransportCode) {
        this.stockTransportCode = stockTransportCode;
    }
}
